/** This class is an enum and defines all the possible values we have in the program:
 * true, false and unknown. 
 * 
 * @author Gregory Banfi (gregory.banfi@usi.ch);  Simone d'Avico (simone.davico@usi.ch);
 * @version 17.04.2011
 */

package ch.usi.inf.pf2;

public enum Value {
	//possible values
	TRUE("1"), FALSE("0"), UNKNOWN("2");
	
	private String value;
	
	/**
	 * This is the constructor of the Value enum class.
	 * Assign a value to the value field of Value.
	 * @param value A value assigned to the field.
	 */
	private Value(String value) {
		this.value = value;
	}
	
	/**
	 * This method return the value of the value field.
	 * @return value The value of the value field.
	 */
	public String getValue() {
		return value;
	}
}